import java.util.Scanner;
/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wwy
 * Date: 2024-05-12
 * Time: 19:50
 */
class Data{
    public int z;
    public Data(int x) {
        this.x = x;
    }

    public int getZ() {
        return z;
    }

    public  int x;
    public  int y;
    public Data(int x, int y) {

        this.x = x;
        this.y = y;

    }

    public int getX(){

        return this.x;
    }
    public int getY(){
        return this.y;
    }
}
public class A {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextInt()) {
            int x = scanner.nextInt();
            int y = scanner.nextInt();
            Data data = new Data(x, y);
            System.out.println(data.getX() + data.getY());
        }
    }

}
